<?php
return array(
    'DB_TYPE'               =>  'mysqli',
    'DB_HOST'               =>  '127.0.0.1',
    'DB_NAME'               =>  'php39',
    'DB_USER'               =>  'root',
    'DB_PWD'                =>  '921123',
    'DB_PORT'               =>  '3306',
    'DB_PREFIX'             =>  'p39_',
    'DB_PARAMS'          	=>  array(),
   # 'DB_DEBUG'  			=>  TRUE,
   # 'DB_FIELDS_CACHE'       =>  true,
    'DB_CHARSET'            =>  'utf8',
    'DEFAULT_FILTER' => 'trim,htmlspecialchars',
   # 'DB_DSN' => 'oci:host=127.0.0.1;dbname=orcl;charset=utf8',  pdo 链接数据库时必须要加的

    # 图片的配置
    'IMAGE_CONFIG' => array(
       'mixSize' => '1024*1024',
        'exts'=>array('jpg','jpeg','gif','png'),
        'rootPath'=>'./Public/Upload/',
        'viewPath'=>'/tp1/Public/Upload/',
    ),

);
